package net.akcegaraz.tipleague.client;

import net.akcegaraz.tipleague.client.service.TipService;
import net.akcegaraz.tipleague.client.service.TipServiceAsync;

import com.google.gwt.core.client.EntryPoint;
import com.google.gwt.core.client.GWT;
import com.google.gwt.event.shared.HandlerManager;
import com.google.gwt.user.client.ui.RootPanel;

/**
 * Entry point classes define <code>onModuleLoad()</code>.
 */
public class Tipleague implements EntryPoint {

    /**
     * This is the entry point method.
     */
    public void onModuleLoad() {
	TipServiceAsync rpcService = GWT.create(TipService.class);
	HandlerManager eventBus = new HandlerManager(null);
	AppController appViewer = new AppController(rpcService, eventBus);
	appViewer.go(RootPanel.get());
    }

}
